home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-21 | 1.1 KB | 61 lines | [TEXT/R*ch] |
- #pragma once on
- /*
- FinderAETE_da.h
- © Bob Boylan 1996
-
- Revision History
- MacHack 1996 initial creation
- */
- #include "FinderAETE_da.h"
- #include "ComputerAETE_da.h"
-
- #include <ASRegistry.h>
-
-
- // -----------------------------------------------------------------
- // ctor
- //
- FinderAETE_da::FinderAETE_da()
- {}
- FinderAETE_da::FinderAETE_da( AppAEObj_pd *inApp )
- : AETE_da( inApp )
- {}
-
-
- // -----------------------------------------------------------------
- // dtor
- //
- FinderAETE_da::~FinderAETE_da()
- {}
-
-
- // -----------------------------------------------------------------
- // GetElements
- //
- vector<Elem_da>
- FinderAETE_da::GetElements( const DescType inClassID )
- {
- vector<Elem_da> theRetVal;
-
- if( inClassID == cFinderProcess ) // we may be asking the app
- {
- AETE_da::ClassIterator_ut theFirstClass( &_Suites );
- AETE_da::ClassIterator_ut theLastClass ( &_Suites,true );
-
- while( theFirstClass != theLastClass )
- {
- Elem_da theElem;
- theElem._ID = (*theFirstClass)._ID;
- theRetVal.push_back( theElem );
- ++theFirstClass;
- }
- }
- else
- {
- theRetVal = AETE_da::GetElements( inClassID );
- }
- return theRetVal;
- }
-
-
-